package com.dhj.yygh.client;

import com.dhj.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("service-order")
@Service
public interface OrderClient {

    /**
     * 获取预约统计信息的远程调用
     *
     * @param orderCountQueryVo 预约统计信息查询 vo 对象
     * @return 返回结果 Map 集合
     */
    @PostMapping("/api/order/orderInfo/getCountMap")
    Map<String, Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
